import {
  mapGetters
} from 'vuex'
var mixin = {
  components: {
    
  },
  props: {
    nodeDialogVisible: {
      type: Boolean
    },
    stepId: {
      type: String
    }
  },
  inject: {
    step: {
      default: () => {
        return {};
      },
    },
  },
  watch: {
    nodeDialogVisible(value) {
      if (value) {
        this.loadStepAttrs()
      }
    }
  },
  computed: {
    
  },
  methods: {
    saveAttrs() {
      this.onSubmit(null, true)
    }
  },
  mounted() {
    this.loadStepAttrs()
  }
}
export default mixin
